


class TrendHandler:
    def __init__(self,  successor=None):
        self.successor = successor

    def set_successor(self, successor):
        self.successor = successor

    def handle(self, kline):
        pass  # 需要在子类中实现具体逻辑